package com.wty.cmims.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName appointment
 */
@TableName(value ="appointment")
@Data
public class Appointment implements Serializable {
    /**
     * 预约ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 居民ID
     */
    private Integer residentId;

    /**
     * 医生ID
     */
    private Integer doctorId;

    /**
     * 医疗机构ID
     */
    private Integer institutionId;

    /**
     * 排班ID
     */
    private Integer scheduleId;

    /**
     * 预约状态（0已申请待确认1确认2进行中3完成4取消）
     */
    private Integer status;

    /**
     * 是否已支付
     */
    private Integer isPay;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}